"""
ScheduledIds_Min:班种最少的人数
ScheduledIds_Max:班种最大的人数
GayAdaptScheduledIds:每个人可以上的班种ID
GayLikeScheduledScore：上班人员对每个班种的喜好分数
GayLikeDayScore：上班人员对星期几上班的喜好程度
GayApply：上班人员的申请
"""
# 每个班种需要对少人，ScheduledIds_Min是该班种最少的人数；ScheduledIds_Max为该班种最大的人数
ScheduledIds_Min = [{0:1},{1:1},{2:1},{3:1},{4:1},{5:1},{6:1},{7:1},{8:1},{9:1},{10:1},{11:2},{12:2},{13:1},{14:3},{15:2},{16:1},{17:1}]
ScheduledIds_Max = [{0:1},{1:1},{2:1},{3:1},{4:1},{5:1},{6:1},{7:1},{8:1},{9:1},{10:1},{11:3},{12:2},{13:4},{14:4},{15:3},{16:2},{17:2}]
ScheduledIdsDict = {}


# 每个人可以上的班种ID
GayAdaptScheduledIds = [
    {0:[0,1,2,3,4,5,6,13,17]},
    {1:[0,1,2,3,4,5,6,11,13,17]},
    {2:[0,1,2,3,4,5,6,13,17]},
    {3:[0,1,2,3,4,5,6,13,17]},
    {4:[0,1,2,3,4,5,6,13,17]},
    {5:[0,1,2,3,4,5,13]},
    {6:[0,1,2,3,4,5,7,13]},
    {7:[0,1,2,3,4,5,7,13]},
    {8:[1,3,7,13]},
    {9:[0,1,2,3,4,5,7,13]},
    {10:[0,1,2,3,4,5,8,13]},
    {11:[0,1,2,3,4,5,8,13]},
    {12:[0,1,2,3,4,5,8,13]},
    {13:[0,1,2,3,4,5,8,13]},
    {14:[0,1,2,3,4,5,9,13]},
    {15:[0,1,2,3,4,5,9,13]},
    {16:[0,1,2,3,4,5,9,13]},
    {17:[0,1,2,3,4,5,10,13]},
    {18:[0,1,2,3,4,5,10,13]},
    {19:[0,1,2,3,4,5,10,13]},
    {20:[0,1,2,3,4,5,10,13]},
    {21:[0,1,2,3,4,5,12,13]},
    {22:[0,1,2,3,4,5,12,13]},
    {23:[0,1,2,3,4,5,12,13]},
    {24:[0,1,2,3,4,5,12,13]},
    {25:[0,1,2,3,4,5,12,13]},
    {26:[14]},
    {27:[14]},
    {28:[14]},
    {29:[0,1,2,3,4,5,14,13]},
    {30:[0,1,2,3,14,13]},
    {31:[0,1,2,3,4,5,14,13]},
    {32:[0,1,2,3,4,5,14,13]},
    {33:[0,1,2,3,4,5,14,13]},
    {34:[11]},
    {35:[11]},
    {36:[11]},
    {37:[16]},
    {38:[0,1,2,3,4,5,16,13]},
    {39:[15]},
    {40:[0,1,2,3,4,5,15,13]},
    {41:[15]},
    {42:[15]},
    {43:[17]}
    ]
# 上班人员对每个班进行评分，每个班2分上下浮动
GayLikeScheduledScore = [
    {0:[2,2,2,2,0,2,2,2,2]},
    {1:[2,2,2,2,2,2,2,2,2,2]},
    {2:[2,2,2,2,2,2,2,2,2]},
    {3:[2,2,2,2,2,2,2,2,2]},
    {4:[2,2,2,2,2,2,2,2,2]},
    {5:[2,2,2,2,2,2,2]},
    {6:[2,2,2,2,2,2,2,2]},
    {7:[2,2,2,2,2,2,2,2]},
    {8:[2,2,2,2]},
    {9:[2,2,2,2,2,2,2,2]},
    {10:[2,2,2,2,2,2,2,2]},
    {11:[2,2,2,2,2,2,2,2]},
    {12:[2,2,2,2,2,2,2,2]},
    {13:[2,2,2,2,2,2,2,2]},
    {14:[2,2,2,2,2,2,2,2]},
    {15:[2,2,2,2,2,2,2,2]},
    {16:[2,2,2,2,2,2,2,2]},
    {17:[2,2,2,2,2,2,2,2]},
    {18:[2,2,2,2,2,2,2,2]},
    {19:[2,2,2,2,2,2,2,2]},
    {20:[2,2,2,2,2,2,2,2]},
    {21:[2,2,2,2,2,2,2,2]},
    {22:[2,2,2,2,2,2,2,2]},
    {23:[2,2,2,2,2,2,2,2]},
    {24:[2,2,2,2,2,2,2,2]},
    {25:[2,2,2,2,2,2,2,2]},
    {26:[2]},
    {27:[2]},
    {28:[2]},
    {29:[2,2,2,2,2,2,2,2]},
    {30:[2,2,2,2,2,2]},
    {31:[2,2,2,2,2,2,2,2]},
    {32:[2,2,2,2,2,2,2,2]},
    {33:[2,2,2,2,2,2,2,2]},
    {34:[2]},
    {35:[2]},
    {36:[2]},
    {37:[2]},
    {38:[2,2,2,2,2,2,2,2]},
    {39:[2]},
    {40:[2,2,2,2,2,2,2,2]},
    {41:[2]},
    {42:[2]},
    {43:[2]}
]
# 上班人员对星期几上班的喜好程度
GayLikeDayScore = [
    {0:[2,2,2,2,2,2,2]},
    {1:[2,2,2,2,2,2,2]},
    {2:[2,2,2,2,2,2,2]},
    {3:[2,2,2,2,2,2,2]},
    {4:[2,2,2,2,2,2,2]},
    {5:[2,2,2,2,2,2,2]},
    {6:[2,2,2,2,2,2,2]},
    {7:[2,2,2,2,2,2,2]},
    {8:[2,2,2,2,2,2,2]},
    {9:[2,2,2,2,2,2,2]},
    {10:[2,2,2,2,2,2,2]},
    {11:[2,2,2,2,2,2,2]},
    {12:[2,2,2,2,2,2,2]},
    {13:[2,2,2,2,2,2,2]},
    {14:[2,2,2,2,2,2,2]},
    {15:[2,2,2,2,2,2,2]},
    {16:[2,2,2,2,2,2,2]},
    {17:[2,2,2,2,2,2,2]},
    {18:[2,2,2,2,2,2,2]},
    {19:[2,2,2,2,2,2,2]},
    {20:[2,2,2,2,2,2,2]},
    {21:[2,2,2,2,2,2,2]},
    {22:[2,2,2,2,2,2,2]},
    {23:[2,2,2,2,2,2,2]},
    {24:[2,2,2,2,2,2,2]},
    {25:[2,2,2,2,2,2,2]},
    {26:[2,2,2,2,2,2,2]},
    {27:[2,2,2,2,2,2,2]},
    {28:[2,2,2,2,2,2,2]},
    {29:[2,2,2,2,2,2,2]},
    {30:[2,2,2,2,2,2,2]},
    {31:[2,2,2,2,2,2,2]},
    {32:[2,2,2,2,2,2,2]},
    {33:[2,2,2,2,2,2,2]},
    {34:[2,2,2,2,2,2,2]},
    {35:[2,2,2,2,2,2,2]},
    {36:[2,2,2,2,2,2,2]},
    {37:[2,2,2,2,2,2,2]},
    {38:[2,2,2,2,2,2,2]},
    {39:[2,2,2,2,2,2,2]},
    {40:[2,2,2,2,2,2,2]},
    {41:[2,2,2,2,2,2,2]},
    {42:[2,2,2,2,2,2,2]},
    {43:[2]}
]

# 上班人员的申请，-1为不上，其余对应的id就是对应的班，99为可上，随便
GayApply = [
    {0:[-1,99,99,99,99,99,99]},
    {1:[99,99,99,99,99,99,99]},
    {2:[99,-1,99,99,99,99,99]},
    {3:[99,99,99,99,99,99,99]},
    {4:[99,99,99,-1,99,99,99]},
    {5:[99,99,4,99,99,99,99]},
    {6:[99,99,99,99,99,-1,99]},
    {7:[99,99,99,99,99,-1,99]},
    {8:[99,99,99,99,99,99,99]},
    {9:[99,99,99,-1,99,99,99]},
    {10:[99,99,99,99,99,99,99]},
    {11:[99,99,99,99,99,99,99]},
    {12:[99,8,99,8,4,99,99]},
    {13:[99,99,99,99,99,99,99]},
    {14:[99,99,99,99,99,99,99]},
    {15:[99,99,99,99,99,99,99]},
    {16:[99,99,99,99,99,99,99]},
    {17:[99,99,99,99,99,99,99]},
    {18:[99,99,99,99,99,99,99]},
    {19:[99,99,99,99,99,99,99]},
    {20:[99,99,99,99,99,99,99]},
    {21:[99,99,99,99,99,99,99]},
    {22:[99,99,99,99,99,99,99]},
    {23:[99,99,99,99,99,99,99]},
    {24:[99,99,99,99,99,99,99]},
    {25:[99,99,99,99,99,99,99]},
    {26:[99,99,99,99,99,99,99]},
    {27:[99,99,99,99,99,99,99]},
    {28:[99,99,99,99,99,99,99]},
    {29:[99,99,99,99,99,99,99]},
    {30:[99,99,99,99,99,99,99]},
    {31:[99,99,99,99,99,99,99]},
    {32:[99,99,99,99,99,99,99]},
    {33:[99,99,99,99,99,99,99]},
    {34:[99,99,99,99,99,99,99]},
    {35:[99,99,99,99,99,99,99]},
    {36:[99,99,99,99,99,99,99]},
    {37:[99,99,99,99,99,99,99]},
    {38:[99,99,99,99,99,99,99]},
    {39:[99,99,15,99,15,99,99]},
    {40:[99,99,99,99,99,99,99]},
    {41:[99,99,99,99,99,99,99]},
    {42:[99,99,99,99,99,99,99]},
    {43:[99,99,99,99,99,99,99]}
]

GayInform = {
    0:"程孟",1:"王玉龙",2:"周昆",3:"吴伟杰",4:"吴文超",5:"陈鲁喆",6:"洪章城",7:"李光阳",8:"林奂华",9:"汤真平",10:"梁智毅",11:"王颖超",12:"吴泽林",13:"辛梓侨",
    14:"兰伟",15:"蒲洋生",16:"张放",17:"蔡江千",18:"邱晓凡",19:"王文相",20:"赵继强",21:"陈利泉",22:"孙洋1",23:"王晨宇1",24:"王阳",25:"占昊",26:"陈羡敏",
    27:"陈翔2",28:"黄彩华",29:"林灿煌",30:"林旺锦",31:"饶忠炜",32:"吴垠甫",33:"张宇9",34:"许晗",35:"杨宝平",36:"张晨沁",37:"黄盛",38:"卫东",39:"杨清梅",
    40:"张喜玥",41:"郑伟",42:"庄家伟",43:"叶文伟"
}

ScheduledInform = [
    "AOC早班带班","AOC早班辅助","AOC航后带班","AOC航后辅助","AOC夜班1","AOC夜班2","AOC总控","一大队排班","二大队排班","三大队排班","四大队排班","五大队排班"
    ,"驻外排班组","机动岗","教学规划组","资质组","连线组","洪文总控组"
]